package com.example.nebula.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Descriptin: 通用返回类
 * @ClassName: CommonVo
 */
@ApiModel("操作通用返回类")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CommonVo {

    /**
     * spaceName : flceshi
     * latencyInUs : 2305
     * errors : {"code":0}
     */

    @ApiModelProperty("空间名称")
    private String spaceName;
    @ApiModelProperty()
    private int latencyInUs;
    private ErrorsBean errors;

    public String getSpaceName() {
        return spaceName;
    }

    private Object vid;

    public Object getVid() {
        return vid;
    }

    public void setVid(Object vid) {
        this.vid = vid;
    }
    private String srcVid;

    private String dstVid;

    public String getSrcVid() {
        return srcVid;
    }

    public void setSrcVid(String srcVid) {
        this.srcVid = srcVid;
    }

    public String getDstVid() {
        return dstVid;
    }

    public void setDstVid(String dstVid) {
        this.dstVid = dstVid;
    }

    public void setSpaceName(String spaceName) {
        this.spaceName = spaceName;
    }

    public int getLatencyInUs() {
        return latencyInUs;
    }

    public void setLatencyInUs(int latencyInUs) {
        this.latencyInUs = latencyInUs;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }


}
